public class Dog extends Animal {

    public Dog() {
        this.name = "旺财";
        this.age = 4;
    }

    void bark(){
        System.out.println(name + "汪汪叫");
    }
}
